<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
	<head>
		<meta charset="utf-8">
		<title>用户登录页面</title>
		
		<script src="../js/jquery-3.3.1.js"></script>
		<link rel="stylesheet" type="text/css" href="../css/bootstrap.css"/>
		<link rel="stylesheet" type="text/css" href="../css/sucommon.css"/>
		<link rel="stylesheet" type="text/css" href="../css/userLogin.css"/>
		<script src="../js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/pin.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div class="movie">
			<div class="main">
				<div class="title">
					<h2>用户登录</h2>
				</div>

				<form action="/user/loginUi"  method="post">
					<div class="form-group">
						<label for="userName" >用户名：</label>
						<input type="text"  class="form-control" id="userName" name="username" placeholder="请输入用户名">
					</div>
				  <div class="form-group">
				    <label for="userTel" >手机号：</label>
				    <input type="text"  class="form-control" id="userTel" name="userTel" placeholder="请输入手机号">
				  </div>
				  <div class="form-group">
				    <label for="userPassword">密码：</label>
				    <input type="password"  class="form-control" id="userPassword" name="userPassword" placeholder="请输入密码">
				  </div>

				  <div>
				      <table border="0" cellspacing="5" cellpadding="5" >
				          <tr>
				              <td> <div id="checkCode" class="code"  onclick="createCode(4)" ></div></td>
				              <td> <span class="an" onclick="createCode(4)">看不清换一张</span></td>
				          </tr>
				          <tr>
				              <td><p class="pin">验证码：</p></td>
				              <td><input type="text" id="inputCode" class="pin1" style="float:right;" /></td>
				              <td><input type="button" onclick="validateCode()" value="确定" class="btn btn-default qdbtn"/></td>
				          </tr>
				      </table>
				      </div>

				  <div class="form-group">
					<a class="zc" href="/user/registUi">没有账号？点击注册</a>
				  </div>

				  <button type="submit" class="btn btn-default submit" >登录</button>
				</form>


			</div>

		</div>
	</body>
</html>
